package com.xuecx.zuul.configer;

import com.xuecx.zuul.filter.ErrorFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author:xuecx
 * @CreateDate: 2019/8/4.
 * @QQ:1276162287
 * @Discription:
 */
@Configuration
public class FilterConfiger {
    @Bean
    public ErrorFilter getErrorFilter(){
        return new ErrorFilter();
    }
}
